package com.okaixz.manager.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.okaixz.common.annotation.Excel;
import com.okaixz.common.core.domain.BaseEntity;

/**
 *  二级菜单管理对象 tab
 * 
 * @author ruoyi
 * @date 2024-08-17
 */
public class Tab extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 父标签 */
    @Excel(name = "父标签")
    private Long parentId;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 标签名 */
    @Excel(name = "标签名")
    private String name;

    /** 标签路径 */
    @Excel(name = "标签路径")
    private String linkTo;

    /** 标签图标链接 */
    private String icon;

    /** 创建时间 */
    private Date createdTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLinkTo(String linkTo) 
    {
        this.linkTo = linkTo;
    }

    public String getLinkTo() 
    {
        return linkTo;
    }
    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("status", getStatus())
            .append("name", getName())
            .append("linkTo", getLinkTo())
            .append("icon", getIcon())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
